package com.kensure.shike.chongzhi.dao;

import co.kensure.annotation.MyBatisRepository;
import co.kensure.frame.JSBaseDao;

import java.util.List;
import java.util.Collection;
import java.util.Map;

import com.kensure.shike.chongzhi.model.SKUserInout;

/**
 * 用余额充值和提现记录Dao接口类
 * 
 * @author fankd created on 2018-9-8
 * @since
 */
@MyBatisRepository
public interface SKUserInoutDao extends JSBaseDao<SKUserInout> {

	public SKUserInout selectOne(Long id);

	public List<SKUserInout> selectByIds(Collection<Long> ids);

	public List<SKUserInout> selectByWhere(Map<String, Object> parameters);

	public long selectCountByWhere(Map<String, Object> parameters);

	public boolean insert(SKUserInout obj);

	public boolean update(SKUserInout obj);

	public boolean updateByMap(Map<String, Object> params);

	public Map<String, Object> sumByWhere(Map<String, Object> parameters);

}
